
{__NOLAYOUT__}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录页</title>
    <link rel="stylesheet" href="__PUBLIC__/css/login.css">
</head>
<body>
<div class="header">
    <div class="logo">
        <img src="__PUBLIC__/image/ry_logo.png">
    </div>
    <div class="logo_line">
        <b style="font-size: 18px;float: left;color:#cccccc;">|</b>
        <b style="font-size: 18px;float: left; margin-left:18px;color:#333333"><a href="__URL__/index.html" class="ry_shop">荣耀商城</a></b>
    </div>
</div>

<div class="login_bg">
    <div class="g">
        <div class="gg">
            <img src="__PUBLIC__/image/login_default_bg.png">
        </div>

        <div class="login">
            <div class="h">
                <samp style="color:#B40707">账号登录</samp>
                <samp style="border-left: 1px solid #cccccc">扫码登录</samp>
            </div>

            <div class="b">
                <div class="login_top">
                    <form method="post" action="__URL__/login_save" name="myform" onsubmit="return check();">
                        <table class="ta">
                            <tr class="tr">
                                <td>
                                    <input type="text" placeholder="用户名" name="username">
                                </td>
                            </tr>
                            <tr class="tr">
                                <td>
                                    <input type="password" placeholder="密码" name="password">
                                </td>
                            </tr>
                            <tr class="tr">
                                <td>
                                    <input type="text" name="captcha" placeholder="验证码">
                                    <div class="captcha">
                                        <img src="__URL__/captcha" width="100px" onclick="this.src='__URL__/captcha/s='+Math.random()"
                                             style="cursor: pointer" title="点击刷新图片验证码">
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <input type="submit" value="登录" class="button">
                                </td>
                            </tr>
                            <tr>
                                <td class="td">
                                    <div class="tdd">
                                    <a href="__URL__/register.html" style=" border-right: 1px solid #cccccc">注册账号</a>
                                    <a href="#" class="forget">忘记密码?</a>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </form>
                </div>
            </div>

            <div class="login-tips">
                <div class="tips">
                    <i class="line-left"></i>
                    <samp class="third-tips">其他方式登录</samp>
                    <i class="line-right"></i>
                </div>

                <div class="login_mode">
                    <samp title="QQ" class="qq">
                        <a href="#"></a>
                    </samp>
                    <samp title="支付宝" class="zfb">
                        <a href="#"></a>
                    </samp>
                    <samp title="微信" class="wx">
                        <a href="#"></a>
                    </samp>
                </div>
            </div>
        </div>
        <div style="clear: both"></div>
    </div>
</div>

<div class="footer">
    <p>
        <a href="#" target="_blank">用户协议</a>
        <em class="foot_em">|</em>
        <a href="#" target="_blank">隐私政策</a>
        <em class="foot_em">|</em>
        <a href="#" target="_blank">常见问题</a>
    </p>
    <p>Copyright © 2011-2017    华为技术有限公司   版权所有   保留一切权利</p>
    <p>苏B2-20070200号           |           苏ICP备09062682号-9</p>
</div>

<script type="text/javascript">
    function check() {
        if (myform.username.value==""){
            alert("用户名为空");
            myform.username.focus();
            return false;
        }
        if (myform.email.value==""){
            alert("邮箱地址为空");
            myform.email.focus();
            return false;
        }
        if (myform.password.value==""){
            alert("密码为空");
            myform.password.focus();
            return false;
        }
        if (myform.captcha.value==""){
            alert("验证码为空");
            myform.password.focus();
            return false;
        }
    }
</script>
</body>
</html>